/**
 * 图书 model
 * private Integer objId;
 * private String author;
 * private String className;
 * private String objProdarea;
 * private String objNo;
 * private String objName;
 * private String generateEra;
 * private String objAuthor;
 * private String description;
 * private Integer objNumber;
 * private Date generateDate;
 * private Integer sell;
 * private String format;
 * private String bookbinding;
 * private String wordPicture;
 * private Integer packaging;
 * private Integer price;
 * private String countRemark;
 * private String note;
 * private String keywords;
 * private Integer iscollection;
 * private Integer iscommend;
 * private String publishHouse;
 * private Date lastUpdate;
 * private String note2;
 * private Integer note3;
 * private Integer reldocid;
 */
 Ext.define('DCApp.model.Book', {
    extend: 'DCApp.model.Base',
    idProperty: 'objId',
    fields: [
        {name: 'objId', type: 'int'},
        {name: 'objNumber', type: 'int'},
        {name: 'sell', type: 'int'},
        {name: 'packaging', type: 'int'},
        {name: 'price', type: 'int'},
        {name: 'iscollection', type: 'int'},        
        {name: 'iscommend', type: 'int'},
        {name: 'note3', type: 'int'},
        {name: 'reldocid', type: 'int'},        
        {name: 'generateDate', type: 'date',  dateFormat: 'n/j h:ia'},
        {name: 'lastUpdate', type: 'date',  dateFormat: 'n/j h:ia'},
        {name: 'author'},
        {name: 'className'},
        {name: 'objProdarea'},
        {name: 'objNo'},
        {name: 'objName'},
        {name: 'generateEra'},
        {name: 'objAuthor'},
        {name: 'description'},
        {name: 'format'},
        {name: 'bookbinding'},
        {name: 'wordPicture'},        
        {name: 'countRemark'},
        {name: 'note'},
        {name: 'keywords'},
        {name: 'publishHouse'},
        {name: 'note2'}
    ]
});
 